<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/11/27/027
 * Time: 22:50
 */

namespace App\Http\Controllers\api\pay;


trait PayTrait
{

    protected $prefix = 'TH';

    protected $title  = 'TH';

    protected $alipay = [
        'app_id' => '2021001199683041',
//        'ali_public_key'    => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3W85EnU/O+d05T3IGeKOU2Kql3teGIzrMgYWtAAT3SJXLjWq0ltUdELGpv1Ag+YS5ykmab/6y7B7zog1D32hG+Pcng8GuRKpXdARP8MEwbhmoomCH7CyKaiVC3merL7wDIhyQ1yqLnZDd+TzyBfpIFdPS/OFtdPA91s4BGb8lqJZZcai0XgyVarfDLl0lEdIXk7kze/SgBMtHh0XwkqLOJjibmWry/COcGyVbBe0kO20/kK+RK6Vke7kL4BbtFqMet3kHpCA5vq5GmmJzj7ZpyDQeFpLAdnctmhR+X25cryciTyQF5qVxYK84cbzCIvRa3oDmerWTMx5/dACpq9K+wIDAQAB',
        'ali_public_key'   => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAldvAvXh4yyiCKaNlh6Txu48n/d/L+g2qafWRNbbjOCCyOi/enFejm4/Xdkr+q7yzl8mEt8/xwqnDKtfz1GxUw1EMCimw3vmUI5FCerLXIh7gdi9ZNgvEW9JpEQKFHV+1gjeYiZ8AMqHoOwjZYOWAaYOTy7G7IizcOd99WboEiBsSzBCdZ9M2oUnfXYNrulocDYv09IZ+CcAaVCAoj+z/3SnyUAbIKi5Ngt3WdYc5qEqVKrDEi79jPXnUEBSR+AwiqDqGZYTIBGlbdiDIvR6q1n4tePhC4dbpJYXUGCj7gSEJDUGv+9vYVWDGQklPK15dhzLzXVPjqKpEo857IgmSgwIDAQAB',
        // 加密方式： **RSA2**
//        'private_key' => 'MIIEwAIBADANBgkqhkiG9w0BAQEFAASCBKowggSmAgEAAoIBAQDdbzkSdT8753TlPcgZ4o5TYqqXe14YjOsyBha0AB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IBCgKCAQEAjPfentgoGuh31+c1cBGyNWY1tEVt499TZuXBH05jAbGZQl08DmklL8Eiok3XMeuo322FHaS/3YV8kLBC0/sJIhjnnw1ZDXEo7V1VrYTrKReoFwaIYj/GQEDg42SPvi7STXQvng610JM+Ilm6Fov+VP/cO9WdPrD25XiUCcOtlNj3xPlB1ej67vr56SKC4yYp0lyr94/OvxrikPKDWSsOyHdilnfuiDBlV4R+4Yb32Nfs/nsD/Tm80c5ctM8yUB3dqpV8LInxDIgVk+QO16WjokX+LewA6XVUmJY44pv0pqzcUX2mJev0tKhpQ9OYjTw8FRJHITExc/16uw6FSy0wqQIDAQAB

    protected $wechat = [
        'appid'  => 'wx91041706f2292ada', // APP APPID
        'app_id' => 'wx91041706f2292ada', // APP APPID
        'mch_id' => '1603820475',
        'key'    => 'e10adc3949ba59abbe56e057f20f883e',
//        'cert_client' => './apiclient_cert.pem', // optional，退款等情况时用到
//        'cert_key'    => './apiclient_key.pem',// optional，退款等情况时用到
    ];
}